package org.jtao.gbsubject.repository;

import org.jtao.gbsubject.domain.CurrentState;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

import org.springframework.data.jpa.repository.*;


/**
 * Spring Data JPA repository for the CurrentState entity.
 */
@SuppressWarnings("unused")
@Repository
public interface CurrentStateRepository extends JpaRepository<CurrentState, Long> {

    Page<CurrentState> findAllBySubjectId(Long id, Pageable pageable);

    CurrentState findOneBySubjectNameAndIndicatorName(String SubjectName,String IndicatorName);

}
